<?php

class FP_Image_Gravatar extends FP_Image {

  public function __construct($pEmail, $pSize=null, $pDefault=null){
    $url = FP_Service_Gravatar::getAvatarUrl($pEmail, $pSize, $pDefault);
    $this->create($url, FP_Image::JPEG);
  }

}

?>